package cn.kgc.service;

import cn.kgc.pojo.GoodsDetail;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GoodsDetailService {
    public List<GoodsDetail> queryAllDetail(@Param("sortId") Integer sortId);
    public GoodsDetail shopGoodsDetailById(Integer id);
    public int buy(@Param("id") Integer id,@Param("buyNum") Integer buyNum);
}
